package com.sias.realestate.web.dao;

import java.util.List;

import com.sias.realestate.core.generic.GenericDao;
import com.sias.realestate.web.model.Notification;

public interface NotificationMapper extends GenericDao<Notification, Integer>{
    int deleteByPrimaryKey(Integer nId);

    int insert(Notification record);

    int insertSelective(Notification record);

    Notification selectByPrimaryKey(Integer nId);

    int updateByPrimaryKeySelective(Notification record);

    int updateByPrimaryKeyWithBLOBs(Notification record);

    int updateByPrimaryKey(Notification record);
    
    List<Notification> findAll();
    
    List<Notification> selectByOid(String oid);
    
    List<Notification> selectByOidIfType (String oid,Integer ntype);
}